<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns additional error information</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.yaz-addinfo" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">yaz_addinfo</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.1, PECL yaz &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">yaz_addinfo</span> &mdash; <span class="dc-title">Returns additional error information</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.yaz-addinfo-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>yaz_addinfo</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$id</code></span>
   ) : <span class="type">string</span></div>

  <p class="para rdfs-comment">
   Returns additional error information for the last request on the server.
  </p>
  <p class="para">
   With some servers, this function may return the same string as 
   <span class="function"><a href="yaz_error.html" class="function">yaz_error()</a></span>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.yaz-addinfo-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">id</code></dt>

     <dd>

      <p class="para">
       The connection resource returned by <span class="function"><a href="yaz_connect.html" class="function">yaz_connect()</a></span>.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.yaz-addinfo-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   A string containing additional error information or an empty string if the
   last operation was successful or if no additional information was provided
   by the server.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.yaz-addinfo-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="yaz_error.html" class="function" rel="rdfs-seeAlso">yaz_error()</a> - Returns error description</span></li>
    <li class="member"><span class="function"><a href="yaz_errno.html" class="function" rel="rdfs-seeAlso">yaz_errno()</a> - Returns error number</span></li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>